package com.zhl.collectionsTest3;

public class Card {
    private String suit; // 花色
    private String number;  //点数
    //每张牌的大小
    private int size;

    @Override
    public String toString() {
        return suit + " " + number +" " ;
    }

    public Card() {
    }

    public Card(String suit, String number, int size) {
        this.suit = suit;
        this.number = number;
        this.size = size;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
